package edu.sctu.xialei.May.day20150523one;

import javax.swing.*;
import java.awt.*;

/**
 * Created by Administrator on 5/23/2015.
 */
public class  FrameAndPanel {
    static JFrame frame = new JFrame("夏磊");
    static JPanel panel = new JPanel();

    static public void setFrame() {
        panel.setBackground(Color.pink);
        frame.setVisible(true);
        frame.getContentPane().add(panel);
        frame.setSize(700,700);
    }


}
